########################################################################################################################
#
# Library: QExt
#
# Copyright (C) 2021~Present ChengXueWen. Contact: 1398831004@qq.com.
#
# License: MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
# documentation files (the "Software"), to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
# to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions
# of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
# WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  AUTHORS
# OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
########################################################################################################################


#-----------------------------------------------------------------------------------------------------------------------
# Set example link libraries
#-----------------------------------------------------------------------------------------------------------------------
set(QEXT_EXAMPLE_LINK_LIBRARIES)

if(QEXT_QT_VERSION_MAJOR EQUAL 4)
    list(APPEND QEXT_EXAMPLE_LINK_LIBRARIES Qt4::QtCore Qt4::QtGui)
elseif(QEXT_QT_VERSION_MAJOR GREATER 4)
    list(APPEND QEXT_EXAMPLE_LINK_LIBRARIES
        Qt${QEXT_QT_VERSION_MAJOR}::Core
        Qt${QEXT_QT_VERSION_MAJOR}::Gui
        Qt${QEXT_QT_VERSION_MAJOR}::Widgets)
else()
    message(FATAL_ERROR "Not find Qt package")
endif()

list(APPEND QEXT_EXAMPLE_LINK_LIBRARIES Widgets)


#-----------------------------------------------------------------------------------------------------------------------
# Add examples
#-----------------------------------------------------------------------------------------------------------------------
qext_add_executable(exp_QExtWidgetNavigationListView
    SOURCES
    navigationlistview/frmnavigationlistview.cpp
    navigationlistview/frmnavigationlistview.h
    navigationlistview/frmnavigationlistview.ui
    navigationlistview/navigationlistview.cpp
    navigationlistview/navigationlistview.h
    navigationlistview/navigationlistview.ui
    navigationlistview/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/navigationlistview
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetNavigationButton
    SOURCES
    navigationbutton/frmnavigationbutton.cpp
    navigationbutton/frmnavigationbutton.h
    navigationbutton/frmnavigationbutton.ui
    navigationbutton/iconhelper.cpp
    navigationbutton/iconhelper.h
    navigationbutton/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/navigationbutton
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetSwitchButton
    SOURCES
    switchbutton/frmswitchbutton.cpp
    switchbutton/frmswitchbutton.h
    switchbutton/frmswitchbutton.ui
    switchbutton/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/switchbutton
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetFramelessMainwindow
    SOURCES
    framelesswindow/mainwindow.cpp
    framelesswindow/mainwindow.h
    framelesswindow/mainwindow.ui
    framelesswindow/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/framelesswindow
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetFramelessDialog
    SOURCES
    framelessdialog/dialog.cpp
    framelessdialog/dialog.h
    framelessdialog/dialog.ui
    framelessdialog/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/framelessdialog
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetFramelessWidget
    SOURCES
    framelesswidget/widget.cpp
    framelesswidget/widget.h
    framelesswidget/widget.ui
    framelesswidget/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/framelesswidget
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetBreathingLight
    SOURCES
    breathinglight/mainwindow.cpp
    breathinglight/mainwindow.h
    breathinglight/mainwindow.ui
    breathinglight/main.cpp
    breathinglight/resources.qrc
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/breathinglight
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetIndicatorLight
    SOURCES
    indicatorlight/mainwindow.cpp
    indicatorlight/mainwindow.h
    indicatorlight/mainwindow.ui
    indicatorlight/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/indicatorlight
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetNumberLed
    SOURCES
    numberled/mainwindow.cpp
    numberled/mainwindow.h
    numberled/mainwindow.ui
    numberled/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/numberled
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetTextLcd
    SOURCES
    textlcd/mainwindow.cpp
    textlcd/mainwindow.h
    textlcd/mainwindow.ui
    textlcd/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/textlcd
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetWaveChart
    SOURCES
    wavechart/frmwavechart.cpp
    wavechart/frmwavechart.h
    wavechart/frmwavechart.ui
    wavechart/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/wavechart
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetIpAddress
    SOURCES
    ipaddress/frmipaddress.cpp
    ipaddress/frmipaddress.h
    ipaddress/frmipaddress.ui
    ipaddress/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/ipaddress
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetTumbler
    SOURCES
    tumbler/frmtumbler.cpp
    tumbler/frmtumbler.h
    tumbler/frmtumbler.ui
    tumbler/frmtumblerdatetime.cpp
    tumbler/frmtumblerdatetime.h
    tumbler/frmtumblerdatetime.ui
    tumbler/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/tumbler
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetDial
    SOURCES
    dial/frmgaugedial.cpp
    dial/frmgaugedial.h
    dial/frmgaugedial.ui
    dial/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/dial
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetThermometer
    SOURCES
    thermometer/frmthermometer.cpp
    thermometer/frmthermometer.h
    thermometer/frmthermometer.ui
    thermometer/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/thermometer
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetProgressWait
    SOURCES
    progresswait/frmprogresswait.cpp
    progresswait/frmprogresswait.h
    progresswait/frmprogresswait.ui
    progresswait/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/progresswait
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetProgressRing
    SOURCES
    progressring/frmprogressring.cpp
    progressring/frmprogressring.h
    progressring/frmprogressring.ui
    progressring/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/progressring
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetProgressPie
    SOURCES
    progresspie/frmprogresspie.cpp
    progresspie/frmprogresspie.h
    progresspie/frmprogresspie.ui
    progresspie/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/progresspie
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetProgressBar
    SOURCES
    progressbar/frmprogressbar.cpp
    progressbar/frmprogressbar.h
    progressbar/frmprogressbar.ui
    progressbar/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/progressbar
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetProgressButton
    SOURCES
    progressbutton/frmprogressbutton.cpp
    progressbutton/frmprogressbutton.h
    progressbutton/frmprogressbutton.ui
    progressbutton/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/progressbutton
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetInput
    SOURCES
    input/mainwindow.cpp
    input/mainwindow.h
    input/mainwindow.ui
    input/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/input
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetSelectSlider
    SOURCES
    selectslider/frmselectslider.cpp
    selectslider/frmselectslider.h
    selectslider/frmselectslider.ui
    selectslider/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/selectslider
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetRangeSlider
    SOURCES
    rangeslider/frmrangeslider.cpp
    rangeslider/frmrangeslider.h
    rangeslider/frmrangeslider.ui
    rangeslider/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/rangeslider
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetTooltip
    SOURCES
    tooltip/frmtooltip.cpp
    tooltip/frmtooltip.h
    tooltip/frmtooltip.ui
    tooltip/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/tooltip
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetSlider
    SOURCES
    slider/frmslider.cpp
    slider/frmslider.h
    slider/frmslider.ui
    slider/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/slider
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetRulerSlider
    SOURCES
    rulerslider/frmrulerslider.cpp
    rulerslider/frmrulerslider.h
    rulerslider/frmrulerslider.ui
    rulerslider/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/rulerslider
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetIconButton
    SOURCES
    iconbutton/FormIconButton.cpp
    iconbutton/FormIconButton.h
    iconbutton/FormIconButton.ui
    iconbutton/FormIconButton.qrc
    iconbutton/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/iconbutton
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetCircleGauge
    SOURCES
    circlegauge/frmcirclegauge.cpp
    circlegauge/frmcirclegauge.h
    circlegauge/frmcirclegauge.ui
    circlegauge/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/circlegauge
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetSemicircleGauge
    SOURCES
    semicirclegauge/frmsemicirclegauge.cpp
    semicirclegauge/frmsemicirclegauge.h
    semicirclegauge/frmsemicirclegauge.ui
    semicirclegauge/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/semicirclegauge
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetArrowCompass
    SOURCES
    arrowcompass/frmarrowcompass.cpp
    arrowcompass/frmarrowcompass.h
    arrowcompass/frmarrowcompass.ui
    arrowcompass/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/arrowcompass
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetRingCompass
    SOURCES
    ringcompass/frmringcompass.cpp
    ringcompass/frmringcompass.h
    ringcompass/frmringcompass.ui
    ringcompass/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/ringcompass
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetProgressKnob
    SOURCES
    progressknob/frmprogressknob.cpp
    progressknob/frmprogressknob.h
    progressknob/frmprogressknob.ui
    progressknob/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/progressknob
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetScaleKnob
    SOURCES
    scaleknob/frmscaleknob.cpp
    scaleknob/frmscaleknob.h
    scaleknob/frmscaleknob.ui
    scaleknob/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/scaleknob
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetLed
    SOURCES
    led/frmled.cpp
    led/frmled.h
    led/frmled.ui
    led/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/led
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetNavigationBar
    SOURCES
    navigationbar/frmnavigationbar.cpp
    navigationbar/frmnavigationbar.h
    navigationbar/frmnavigationbar.ui
    navigationbar/frmnavigationbarform.cpp
    navigationbar/frmnavigationbarform.h
    navigationbar/frmnavigationbarform.ui
    navigationbar/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/navigationbar
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetOvenTimer
    SOURCES
    oventimer/frmoventimer.cpp
    oventimer/frmoventimer.h
    oventimer/frmoventimer.ui
    oventimer/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/oventimer
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetStyleThemes
    SOURCES
    stylethemes/stylethemes.qrc
    stylethemes/mainwindow.cpp
    stylethemes/mainwindow.h
    stylethemes/mainwindow.ui
    stylethemes/WidgetForm.cpp
    stylethemes/WidgetForm.h
    stylethemes/WidgetForm.ui
    navigationbutton/iconhelper.cpp
    navigationbutton/iconhelper.h
    navigationbutton/frmnavigationbutton.cpp
    navigationbutton/frmnavigationbutton.h
    navigationbutton/frmnavigationbutton.ui
    stylethemes/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/stylethemes
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserSimple
    SOURCES
    propertybrowser/simple/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/simple
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserDemo
    SOURCES
    propertybrowser/demo/main.cpp
    propertybrowser/demo/demo.qrc
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/demo
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserExtension
    SOURCES
    propertybrowser/extension/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/extension
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserDecoration
    SOURCES
    propertybrowser/decoration/main.cpp
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/decoration
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserCanvasTyped
    SOURCES
    propertybrowser/canvas_typed/main.cpp
    propertybrowser/canvas_typed/mainwindow.cpp
    propertybrowser/canvas_typed/mainwindow.h
    propertybrowser/canvas_typed/qtcanvas.cpp
    propertybrowser/canvas_typed/qtcanvas.h
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/canvas_typed
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserCanvasVariant
    SOURCES
    propertybrowser/canvas_variant/main.cpp
    propertybrowser/canvas_variant/mainwindow.cpp
    propertybrowser/canvas_variant/mainwindow.h
    propertybrowser/canvas_variant/qtcanvas.cpp
    propertybrowser/canvas_variant/qtcanvas.h
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/canvas_variant
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
qext_add_executable(exp_QExtWidgetPropertyBrowserObjectController
    SOURCES
    propertybrowser/object_controller/main.cpp
    propertybrowser/object_controller/objectcontroller.cpp
    propertybrowser/object_controller/objectcontroller.h
    LIBRARIES
    ${QEXT_EXAMPLE_LINK_LIBRARIES}
    INCLUDE_DIRECTORIES
    ${CMAKE_CURRENT_SOURCE_DIR}/propertybrowser/object_controller
    OUTPUT_DIRECTORY
    ${QEXT_OUTPUT_EXAMPLE_DIR}
    DEFINES
    EXECUTABLE_OUTPUT_PATH="${QEXT_OUTPUT_EXAMPLE_DIR}")
